import React from 'react';
import {Space} from "antd";

interface TextContextProps{
    title: string,
    info: string | number
}

const TextContext = (props: TextContextProps) => {
    return (
        <Space style={{fontSize: "16px"}}>
            <div style={{color: "#636060", minWidth: "120px"}}>{props.title}</div>
            {/*<span style={{color: "#b3abab"}}>:</span>*/}
            <span>{props.info}</span>
        </Space>
    );
};

export default TextContext;